<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/10/19 0019
 * Time: 10:43
 */
namespace app\admin\model;
use think\Db;

class News
{
    static public function get(){
        return Db::view('user',true)
            ->view('news','*','news.user_id=user.id','right');
    }
}